import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { FlowGraphComponent } from './flow-graph/flow-graph.component';
import { UtilsModule } from '../utils/utils.module';
import { FlowGraphDesignComponent } from './flow-graph-design/flow-graph-design.component';

const routes: Routes = [
  { path: 'list', component: FlowGraphComponent },
  { path: 'design', component: FlowGraphDesignComponent },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
  providers: [UtilsModule]
})
export class FlowGraphRoutingModule { }
